<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>switch </title>
	<script type="text/javascript">

		n = "9";

		switch(n){
			case "男":
			  alert("你是男的");
			  break;
			case "女":
			  alert("你是女的");
			  break;
			case "人妖":
			  alert("你是人妖");
			  break;
			case 9:
			  alert("你是9");
			  break;
			default:
			  alert("你不是人");
		}





	</script>
</head>
<body>
	
</body>
</html>